#include "workthread.h"
#include <QDebug>

WorkThread::WorkThread(QObject* parent)
    : QThread(parent)
{

}

WorkThread::~WorkThread()
{

}

void WorkThread::run()
{
    for (int i = 0; i < 1000000000; ++i);
    qDebug() << "finished thread";
    emit done();
}

